/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.shop.domain;

import java.util.Date;

/**
 *
 * @author 3500512
 */
public class SoldItemDescription {

    private long sid_Id;
    private Customer customer_Id;
    private String item_Id;
    private int quantity;
    private double rate;
    private double price;
    private Date date;

    public SoldItemDescription() {
    }

    public SoldItemDescription(long sid_Id, Customer customer_Id, String item_Id, int quantity, double rate, double price, Date date) {
        this.sid_Id = sid_Id;
        this.customer_Id = customer_Id;
        this.item_Id = item_Id;
        this.quantity = quantity;
        this.rate = rate;
        this.price = price;
        this.date = date;
    }

    public long getSid_Id() {
        return sid_Id;
    }

    public void setSid_Id(long sid_Id) {
        this.sid_Id = sid_Id;
    }

    public Customer getCustomer_Id() {
        return customer_Id;
    }

    public void setCustomer_Id(Customer customer_Id) {
        this.customer_Id = customer_Id;
    }

    public String getItem_Id() {
        return item_Id;
    }

    public void setItem_Id(String item_Id) {
        this.item_Id = item_Id;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    public double getRate() {
        return rate;
    }

    public void setRate(double rate) {
        this.rate = rate;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("SoldItemDescription [customer_Id=");
        builder.append(customer_Id);
        builder.append(", item_Id=");
        builder.append(item_Id);
        builder.append(", date=" + date);
        builder.append(", quantity=");
        builder.append(quantity);
        builder.append("]");
        return builder.toString();
    }
}
